package org.gy.T4.t1;

import java.util.LinkedHashSet;
import java.util.Set;

public class Test {
    public static void main(String[] args){
        Set<Student> students = new LinkedHashSet<>();
        Student s1 = new Student("⾄尊宝",20, 169.6);
        Student s2 = new Student("蜘蛛精",23, 169.6);
        Student s3 = new Student("蜘蛛精",23, 169.6);
        Student s4 = new Student("⽜魔王",48, 169.6);
        students.add(s1);
        students.add(s2);
        students.add(s3);
        students.add(s4);
        for(Student s : students){
            System.out.println(s);
        }
    }
}
